﻿
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<title>${title!"注册"}</title>
<#include "style/lgStyle.html">
</head>

<body>
	<br>
	<br>
	<div id="out" class="container" style="width: 100%; margin: 0 auto;">

		<div class="box">
			<center>
				<h2>
					<p class="text-inverse">注册</p>
				</h2>
			</center>
			<br>
			<div class="div" style="margin: 0 auto; width: 430px;">
				<form class="form-horizontal" action="${contextPath}/register/reg"
					method="post">
					<strong>请输入您的公司信息</strong><br>
					<br>
					<div class="control-group">
						<label class="control-label" for="inputName">公司全称（或个人昵称）</label>
						<div class="controls">
							<input type="text" id="inputName" name="name" value="${name!}" placeholder="请输入公司全称（或个人昵称）" required><i
								class="icon-star"></i><#if errorRegName??>
							${errorRegName!}</#if>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputEmail">联系邮箱</label>
						<div class="controls">
							<input type="text" id="inputEmail" name="email" value="${email!}" placeholder="请输入联系邮箱">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputQQ">QQ号</label>
						<div class="controls">
							<input type="text" id="inputQQ" name="qq" value="${qq!}" placeholder="请输入QQ号">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputPhone">手机号码</label>
						<div class="controls">
							<input type="text" id="inputPhone" name="tel" value="${tel!}" placeholder="作为登录账号使用" required><i
								class="icon-star"></i><#if IfRegTel??> ${IfRegTel!}</#if><#if
							errorRegTel??> ${errorRegTel!}</#if>
						</div>
					</div>
					<strong>请设置您的登录密码</strong><br>
					<br>
					<div class="control-group">
						<label class="control-label" for="inputPassword">密码</label>
						<div class="controls">
							<input type="password" id="inputPassword" name="passwd" placeholder="请输入密码" required><i
								class="icon-star"></i><#if errorReg??> ${errorReg!}</#if>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="inputConfirm">确认密码</label>
						<div class="controls">
							<input type="password" id="inputConfirm" name="repasswd" placeholder="请再次输入密码" required><i
								class="icon-star"></i><#if errorReg??> ${errorReg!}</#if>
						</div>
					</div>

					<div class="control-group">
						<label class="control-label" for="inputPassword">验证码</label>
						<div class="controls">
							<input type="text" id="captcha" name="captcha"
								placeholder="请输入验证码" value="" required>
						</div>
						<div class="controls"><#if errorRegisterCaptcha??> ${errorRegisterCaptcha!}
							</#if></div>
						<br>
						<div class="controls">
							<img src="${contextPath}/captcha">
						</div>
					</div>


					<div class="control-group">
						<div class="controls">
							<button type="submit" class="btn btn-primary">确定</button>
							<a href="${contextPath}/login" class="btn">退出</a>
						</div>
					</div>
				</form>
				<div class="alert alert-error">
					<button type="button" class="close" data-dismiss="alert">&times;</button>
					<strong>注意!</strong> 标<i class="icon-star"></i>的为必填选项！.
				</div>
			</div>

		</div>
	</div>
</body>
</html>